<template>
  <div>
    {{ curItem }}

    <!-- <el-form
      :model="editForm"
      status-icon
      :rules="rules"
      ref="ruleForm"
      label-width="70px"
      class="demo-ruleForm"
      size="mini"
    >
      <el-form-item label="账号" prop="uname">
        <el-input v-model="editForm.uname"></el-input>
      </el-form-item>
      <el-form-item label="用户组" prop="userGroup">
        <el-select v-model="editForm.userGroup" placeholder="请选择">
          <el-option label="普通管理员" value="普通管理员"> </el-option>
          <el-option label="超级管理员" value="超级管理员"> </el-option>
        </el-select>
      </el-form-item>
    </el-form> -->
  </div>
</template>

<script>
import { orderDeatil } from '@/api/orders.js'
// import { orderEdit } from '@/api/orders.js'
export default {
  data() {
    return {
      curItem: {}
      //   editForm: {
      //     id: '',
      //     orderNo: ''
      //   },
      //   rules: {}
    }
  },
  created() {
    this.getcurItem(this.$route.query.id)
  },
  methods: {
    async getcurItem(id) {
      const { data } = await orderDeatil({ id })
      console.log(data)
      this.curItem = data
    }
    // async getOrderEdit(){
    //   const {data} = await
    // }
  }
}
</script>

<style lang="less" scoped></style>
